Component({
    properties: {
        paramAtoB:Object
    },
    data: {
        name: '快乐生活', img: 'https://img1.baidu.com/it/u=3522694220,1362201927&fm=26&fmt=auto&gp=0.jpg',
        type: '门店', number: 6
    },
    attached: function () {
        const {paramAtoB} = this.data;
        this.setData({
            name:paramAtoB.name,
            img:paramAtoB.img,
            type:paramAtoB.type,
            number:paramAtoB.number,
        })
    },
    methods: {}
});
